<?php
/**
 * Description
 *
 * PHP version 7
 *
 * @category Custom
 * @package  Custom
 * @author   ryu <mo5467@126.com>
 * @date     2020-04-30 00:00:29
 * @lastTime 2020-04-30 00:02:46
 * @license  https://opensource.org/licenses/MIT MIT License
 * @link     none
 */
namespace Design\Other\Repository;

interface Persistence
{


    public function generateId() : int;


    public function persist(array $data);


    public function retrieve(int $id) : array;


    public function delete(int $id);


}//end interface
